CREATE: Create a memory game that will display 3 random numbers for the user. Then, ask the user to input the 3 numbers they saw into the program. Check if they are correct or if they lost! You must use at least three if statements!

Useful Links: Simon Memory Game, Example #1, Example #2, Example #3

Commenting: Write your steps in pseudocode as comments. Build your code below the comment that describes it.

Save and Submit: Click Submit often! Be sure to read the tech requirements in the comments!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)